package com.gxa.insurance.service;


import com.gxa.insurance.exception.BusinessException;
import com.gxa.insurance.pojo.InsureApply;
import com.gxa.insurance.pojo.ThirdAdmin;

import java.util.List;
import java.util.Map;

/**
 * @author 10076
 */

public interface ThirdAdminService {
    ThirdAdmin selectById(Integer id) throws Exception;
    List<Map<String,Object>> selectByPage(Integer page, Integer size);
    List<ThirdAdmin> selectAll() throws BusinessException;
    List<InsureApply> selectAllApply();
    List<String> selectAllByname() throws Exception;
    Integer insert(ThirdAdmin thirdAdmin) throws BusinessException;
    Integer insertApply(InsureApply insureApply) throws BusinessException;
    void delect(Integer id) throws BusinessException;
    void update(ThirdAdmin thirdAdmin) throws BusinessException;
}
